home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!serpens!not-for-mail
- From: mlelstv@serpens.rhein.de (Michael van Elst)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: BitMap problem
- Date: 15 Apr 1996 09:21:19 +0200
- Organization: dis-
- Message-ID: <4kstdf$okn@serpens.rhein.de>
- References: <4kfesg$sqe@sinsen.sn.no> <1996Apr10.104208.28803@imada.ou.dk> <4kgqs9$clr@serpens.rhein.de> <1996Apr11.153514.2002@imada.ou.dk> <4kjiim$lhd@serpens.rhein.de> <632.6675T1277T900@cs.ruu.nl> <4kntq5$78q@serpens.rhein.de> <1158.6678T1403T2778@cs.ruu.nl>
- NNTP-Posting-Host: serpens.rhein.de
-
- wsldanke@cs.ruu.nl (Wessel Dankers) writes:
-
- >> A cleaner method is to clone the windows RastPort and modify the copy.
-
- >You mean with ClipBlit()? Not really the fastest solution on earth, is it?
-
- No. Clone the RastPort structure. I.e.:
-
- struct RastPort RP;
-
- LockLayerRom(win->RPort->Layer);
- RP = *win->RPort;
- UnlockLayerRom(win->RPort->Layer);
-
- RP.TmpRas = mytmpras;
- ...
-
- The cloned RastPort refers to the same layer automatically.
-
- However, this has nothing to do with your problem.
-
- Regards,
- --
- Michael van Elst
-
- Internet: mlelstv@serpens.rhein.de
- "A potential Snark may lurk in every tree."
-